package com.suncreate.radarscan.model;
/**
 * 
 * @ClassName: RawRadarData 
 * @Description: 雷达原始数据对象（封装雷达发送过来的一条数据） 
 * @author zhangguolin 
 * @date 2017年8月14日 下午2:15:45 
 *
 */
public class RawRadarData {
	
	/*
     * 1:代表目标进入观测区域（TARGET_JOIN)
     * 2:代表目标离开观测区域（TARGET_LEAVE)
     * 3:代表更新当前目标信息（TARGET_UPDATE)
     */
    private int iTargetStatus;//目标状态

    //目标总数
    private int iTargetSum;

    //目标编号
    private int iTargetNum;

  
    /*
     * 目标类型
     * 0：代表行人（PERSON_TARGET)
     * 1：代表摩托车（MOTO_TARGET)
     * 2：代表小汽车(CAR_TARGET)
     * 3:代表大车（TRAFFIC_TARGET)
     * 4：未知类型（UNKNOW_TARGET)
     */
    private int iTargetType;  //目标类型

    //目标X轴速度
    private float xSpeed;

    //目标Y轴速度
    private float ySpeed;

    //目标X轴距离
    private float xDistance;

    //目标Y轴距离
    private float yDistance;

    //数据接收时间("format": "yyyy-MM-dd HH:mm:ss")
    private Long time;

    //雷达ID
    private String radarNo;

    //目标方位角
    private float fAZM;

	public int getiTargetStatus() {
		return iTargetStatus;
	}

	public void setiTargetStatus(int iTargetStatus) {
		this.iTargetStatus = iTargetStatus;
	}

	public int getiTargetSum() {
		return iTargetSum;
	}

	public void setiTargetSum(int iTargetSum) {
		this.iTargetSum = iTargetSum;
	}

	public int getiTargetNum() {
		return iTargetNum;
	}

	public void setiTargetNum(int iTargetNum) {
		this.iTargetNum = iTargetNum;
	}

	public int getiTargetType() {
		return iTargetType;
	}

	public void setiTargetType(int iTargetType) {
		this.iTargetType = iTargetType;
	}

	public float getxSpeed() {
		return xSpeed;
	}

	public void setxSpeed(float xSpeed) {
		this.xSpeed = xSpeed;
	}

	public float getySpeed() {
		return ySpeed;
	}

	public void setySpeed(float ySpeed) {
		this.ySpeed = ySpeed;
	}

	public float getxDistance() {
		return xDistance;
	}

	public void setxDistance(float xDistance) {
		this.xDistance = xDistance;
	}

	public float getyDistance() {
		return yDistance;
	}

	public void setyDistance(float yDistance) {
		this.yDistance = yDistance;
	}

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}


	public String getRadarNo() {
		return radarNo;
	}

	public void setRadarNo(String radarNo) {
		this.radarNo = radarNo;
	}

	public float getfAZM() {
		return fAZM;
	}

	public void setfAZM(float fAZM) {
		this.fAZM = fAZM;
	}

	@Override
	public String toString() {
		return "RawRadarData [iTargetStatus=" + iTargetStatus + ", iTargetSum=" + iTargetSum + ", iTargetNum="
				+ iTargetNum + ", iTargetType=" + iTargetType + ", xSpeed=" + xSpeed + ", ySpeed=" + ySpeed
				+ ", xDistance=" + xDistance + ", yDistance=" + yDistance + ", time=" + time + ", radarNo=" + radarNo
				+ ", fAZM=" + fAZM + "]";
	}

	
}
